package com.hc.model.code03.test3;

/**
 * @version v1.0
 * @ClassName: Client
 * @Description: 测试类
 * @Author: HC
 */
public class Client {
    public static void main(String[] args) {
        Computer c = new Computer();
        // 读取sd卡中的数据
        String msg1 = c.readSD(new SDCardImpl());
        System.out.println(msg1);

        // 读取tf卡中的数据
        String msg2 = c.readSD(new SDAdapterTF());
        System.out.println(msg2);
    }
}
